package concurrent.thread.pool;

import org.apache.commons.pool2.PooledObjectFactory;
import org.apache.commons.pool2.impl.GenericObjectPool;

/**
 * apache线程池GenericObjectPool
 * Created by Niki on 2018/6/11 9:02
 */
public class ThreadPoolDemo2 {

    static class ThreadPool extends GenericObjectPool<Thread> {

        public ThreadPool(PooledObjectFactory<Thread> factory) {
            super(factory);
        }
    }
}
